package com.fishing.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.fishing.entity.GamePicture;
import com.fishing.mapper.GamePictureMapper;
import com.fishing.service.GamePictureService;

@Service
public class GamePictureServiceImpl implements GamePictureService {
	@Autowired
	private GamePictureMapper gamePictureMapper;

	@Override
	public int insert(GamePicture picture) throws Exception {
		return this.gamePictureMapper.insert(picture);
	}

	@Override
	public List<GamePicture> selectAll() throws Exception {
		return this.gamePictureMapper.selectAll();
	}

	@Override
	public int updateName(GamePicture picture) throws Exception {
		return this.gamePictureMapper.updateName(picture);
	}

}
